<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>后台管理系统</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="/layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="/css/public.css" media="all" />
	<style>
		span.button.root_close::before {
			content: "\e623";
		}
		span.button.root_open::before {
			content: "\e625";
		}
	</style>
</head>
<body class="childrenBody">
<form class="layui-form layui-form-pane" action="" lay-filter="component-form-element" autocomplete="off">

	<div class="layui-inline layui-col-md5">
		<div class="layui-form-item" >
			<label class="layui-form-label">物种ID：</label>
			<div class="layui-input-block">
				<input type="text" id="id" name="id" class="layui-input" disabled>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">父级分类：</label>
			<div class="layui-input-block">
				<input name="pid" type="text" id="tree-select-species" lay-filter="tree-select-species"
					   class="layui-input" value="">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">物种名称：</label>
			<div class="layui-input-block">
				<input type="text" name="speciesName" id="speciesName" lay-verify="required" placeholder=""
					   autocomplete="off" class="layui-input" value="">
			</div>
		</div>
		<div class="layui-form-item layui-form-text">
			<label class="layui-form-label">物种摘要：</label>
			<div class="layui-input-block">
                    <textarea name="speciesAbstract" id="speciesAbstract" placeholder="请输入内容"
							  class="layui-textarea"></textarea>
			</div>
		</div>
		<div class="layui-form-item layui-form-text">
			<label class="layui-form-label">物种封面：</label>
			<div id="speciesCoverUpload" class="layui-upload-list thumbBox magt0" style="border-top: 0;">
				<img class="layui-upload-img thumbImg speciesCoverImg">
				<input type="hidden" name="speciesCover" id="speciesCover" class="layui-input">
			</div>
		</div>

		<div class="layui-form-item layui-col-md5">
			<label class="layui-form-label">创建者</label>
			<div class="layui-input-block">
				<input type="text" name="createdBy" id="createdBy" lay-verify="" class="layui-input" disabled>
			</div>
		</div>

		<div class="layui-form-item">
			<div class="layui-inline layui-col-md5">
				<label class="layui-form-label">创建时间</label>
				<div class="layui-input-block">
					<input type="text" id="createdTime" lay-verify="datetime" placeholder="yyyy-MM-dd HH:mm:ss" class="layui-input" disabled>
				</div>
			</div>
			<div class="layui-inline layui-col-md5 layui-col-md-offset1">
				<label class="layui-form-label">更新时间</label>
				<div class="layui-input-block">
					<input type="text" id="updatedTime" lay-verify="datetime" placeholder="yyyy-MM-dd HH:mm:ss" class="layui-input" disabled>
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-block">
				<button class="layui-btn" lay-submit lay-filter="edit">提交修改</button>
			</div>
		</div>
	</div>


	<div class="layui-inline layui-col-md6 layui-col-md-offset1">
		<div class="layui-form-item layui-form-text">
			<label class="layui-form-label">物种内容：</label>
			<div class="layui-input-block">
                    <textarea name="speciesContent" id="speciesContent" placeholder="请输入内容"
							  class="layui-textarea"></textarea>
			</div>
		</div>
	</div>

</form>
<script type="text/javascript" src="/layui/layui.js"></script>
<script src="/js/common/jquery-3.3.1.js"></script>
<script src="/js/common/jquery.cookie.js"></script>
<script src="/js/common.js"></script>
<script src="/layui/mymodule/common.js"></script>
<script type="text/javascript" src="/js/agritech/agt_species/speciesEdit.js"></script>
</body>
</html>